package phoneinterface;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2002</p>
 * <p>Company: </p>
 * @author Tan, Khew, Fan
 * @version 1.0
 */

public class Tone {

  public static Tone
  IDLE = new Tone(0),
  DIAL_TONE = new Tone(1),
  IDLE2 = new Tone(2),
  TONE1 = new Tone(3),
  DIAL_TONE2 = new Tone(4),
  RINGING = new Tone(5),
  TONE2 = new Tone(6),
  BUSY = new Tone(7),
  TONE3 = new Tone(8),
  TONE4 = new Tone(9),
  TONE5 = new Tone(10),
  RINGING2 = new Tone(11),
  TONE6 = new Tone(12),
  TONE7 = new Tone(13),
  DTMF_D = new Tone(14),
  DTMF_1 = new Tone(15),
  DTMF_2 = new Tone(16),
  DTMF_3 = new Tone(17),
  DTMF_4 = new Tone(18),
  DTMF_5 = new Tone(19),
  DTMF_6 = new Tone(20),
  DTMF_7 = new Tone(21),
  DTMF_8 = new Tone(22),
  DTMF_9 = new Tone(23),
  DTMF_0 = new Tone(24),
  DTMF_STAR = new Tone(25),
  DTMF_HASH = new Tone(26),
  DTMF_A = new Tone(27),
  DTMF_B = new Tone(28),
  DTMF_C = new Tone(29),
  DIAL_PULSE1 = new Tone(30),
  DIAL_PULSE2 = new Tone(31),
  DIAL_PULSE3 = new Tone(32),
  TONE_OFF = new Tone(255);

  private int type;

  private Tone(int type) {
    this.type = type;
  }

  public int getType() {
    return type;
  }

}